package com.kanshu.constant;
/**
 * @author GAIst
 * ClassName DownLoadType.java
 * From
 * Description OK
 * createTime 2024年12月20日14:32:26
 */
public class DownLoadType {
    private String OUTPUT_TEXT_SERVERERROR = "服务器故障，请重试！";
    private String OUTPUT_TEXT_ERROR = "系统存在错误，服务终止！";
    private String OUTPUT_SIGN_ASTERISK = "**********************************************\n";
    private String OUTPUT_TEXT_FILENOTFOUND = "文件未找到，可能已被删除！";
    private String OUTPUT_TEXT_FILECANNOTREAD = "文件无法读取，下载失败！";
    private String OUTPUT_TEXT_DOWNLOADSTART = "文件开始下载！";
    private String OUTPUT_TEXT_DOWNLOADFAIL = "文件下载失败！";
    private String OUTPUT_TEXT_DOWNLOADSUCCESS = "文件下载成功！\n下载后的文件路径是：%1$s\n下载后的文件名是：%2$s";
    private String OUTPUT_TEXT_SELECTLIST = "按回车键返回：";

    public String getOUTPUT_TEXT_SERVERERROR() {
        return OUTPUT_TEXT_SERVERERROR;
    }

    public String getOUTPUT_TEXT_ERROR() {
        return OUTPUT_TEXT_ERROR;
    }

    public String getOUTPUT_SIGN_ASTERISK() {
        return OUTPUT_SIGN_ASTERISK;
    }

    public String getOUTPUT_TEXT_FILENOTFOUND() {
        return OUTPUT_TEXT_FILENOTFOUND;
    }

    public String getOUTPUT_TEXT_FILECANNOTREAD() {
        return OUTPUT_TEXT_FILECANNOTREAD;
    }

    public String getOUTPUT_TEXT_DOWNLOADSTART() {
        return OUTPUT_TEXT_DOWNLOADSTART;
    }

    public String getOUTPUT_TEXT_DOWNLOADFAIL() {
        return OUTPUT_TEXT_DOWNLOADFAIL;
    }

    public String getOUTPUT_TEXT_DOWNLOADSUCCESS(String url, String fileName) {
        return String.format(OUTPUT_TEXT_DOWNLOADSUCCESS, url, fileName);
    }

    public String getOUTPUT_TEXT_SELECTLIST() {
        return OUTPUT_TEXT_SELECTLIST;
    }
}
